package myJs.myPkg

import org.scalajs.dom.Blob
import slinky.readwrite.ObjectOrWritten

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport

case class PrintJsOptions(
                           printable: js.UndefOr[String] = js.undefined,
                           `type`: js.UndefOr[String] = js.undefined,
                           style: js.UndefOr[String] = js.undefined,
                           targetStyles: js.UndefOr[List[String]] = js.undefined,
                           targetStyle: js.UndefOr[List[String]] = js.undefined,
                           font_size: js.UndefOr[String] = js.undefined,
                         )

/**
 * Created by yz on 2019/3/14
 */
@JSImport("print-js", JSImport.Default)
@js.native
object PrintJS extends js.Object {

  def apply(options: ObjectOrWritten[PrintJsOptions]): Unit = js.native

}
